package com.hbgc.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * 视频信息
 * @TableName tb_video
 */
public class TbVideo implements Serializable {
    /**
     * 视频主键
     */
    private Integer videoid;

    /**
     * 电影海报URL地址
     */
    private String videopaper;

    /**
     * 视频名称
     */
    private String videoname;

    /**
     * 视频别名
     */
    private String videoname2;

    /**
     * 视频导演
     */
    private String videodirect;

    /**
     * 视频类型
     */
    private Integer typeid;

    /**
     * 视频所属地区
     */
    private String videoarea;

    /**
     * 视频语言
     */
    private String videolan;

    /**
     * 视频上映时间
     */
    private String videoage;

    /**
     * 评分
     */
    private Double score;

    /**
     * 片长
     */
    private Integer videolength;

    /**
     * 总播放量
     */
    private Integer sumplay;

    /**
     * 今日播放量
     */
    private Integer todayplay;

    /**
     * 最后更新时间
     */
    private String lastmodifytime;

    /**
     * 视频详情
     */
    private String videoinfo;

    /**
     * 视频演员
     */
    private String videoactor;

    /**
     * 播放地址
     */
    private String playurl;

    /**
     * 播放地址2
     */
    private String play2url;

    /**
     * 下载地址
     */
    private String downloadurl;

    private static final long serialVersionUID = 1L;

    /**
     * 视频主键
     */
    public Integer getVideoid() {
        return videoid;
    }

    /**
     * 视频主键
     */
    public void setVideoid(Integer videoid) {
        this.videoid = videoid;
    }

    /**
     * 电影海报URL地址
     */
    public String getVideopaper() {
        return videopaper;
    }

    /**
     * 电影海报URL地址
     */
    public void setVideopaper(String videopaper) {
        this.videopaper = videopaper;
    }

    /**
     * 视频名称
     */
    public String getVideoname() {
        return videoname;
    }

    /**
     * 视频名称
     */
    public void setVideoname(String videoname) {
        this.videoname = videoname;
    }

    /**
     * 视频别名
     */
    public String getVideoname2() {
        return videoname2;
    }

    /**
     * 视频别名
     */
    public void setVideoname2(String videoname2) {
        this.videoname2 = videoname2;
    }

    /**
     * 视频导演
     */
    public String getVideodirect() {
        return videodirect;
    }

    /**
     * 视频导演
     */
    public void setVideodirect(String videodirect) {
        this.videodirect = videodirect;
    }

    /**
     * 视频类型
     */
    public Integer getTypeid() {
        return typeid;
    }

    /**
     * 视频类型
     */
    public void setTypeid(Integer typeid) {
        this.typeid = typeid;
    }

    /**
     * 视频所属地区
     */
    public String getVideoarea() {
        return videoarea;
    }

    /**
     * 视频所属地区
     */
    public void setVideoarea(String videoarea) {
        this.videoarea = videoarea;
    }

    /**
     * 视频语言
     */
    public String getVideolan() {
        return videolan;
    }

    /**
     * 视频语言
     */
    public void setVideolan(String videolan) {
        this.videolan = videolan;
    }

    /**
     * 视频上映时间
     */
    public String getVideoage() {
        return videoage;
    }

    /**
     * 视频上映时间
     */
    public void setVideoage(String videoage) {
        this.videoage = videoage;
    }

    /**
     * 评分
     */
    public Double getScore() {
        return score;
    }

    /**
     * 评分
     */
    public void setScore(Double score) {
        this.score = score;
    }

    /**
     * 片长
     */
    public Integer getVideolength() {
        return videolength;
    }

    /**
     * 片长
     */
    public void setVideolength(Integer videolength) {
        this.videolength = videolength;
    }

    /**
     * 总播放量
     */
    public Integer getSumplay() {
        return sumplay;
    }

    /**
     * 总播放量
     */
    public void setSumplay(Integer sumplay) {
        this.sumplay = sumplay;
    }

    /**
     * 今日播放量
     */
    public Integer getTodayplay() {
        return todayplay;
    }

    /**
     * 今日播放量
     */
    public void setTodayplay(Integer todayplay) {
        this.todayplay = todayplay;
    }

    /**
     * 最后更新时间
     */
    public String getLastmodifytime() {
        return lastmodifytime;
    }

    /**
     * 最后更新时间
     */
    public void setLastmodifytime(String lastmodifytime) {
        this.lastmodifytime = lastmodifytime;
    }

    /**
     * 视频详情
     */
    public String getVideoinfo() {
        return videoinfo;
    }

    /**
     * 视频详情
     */
    public void setVideoinfo(String videoinfo) {
        this.videoinfo = videoinfo;
    }

    /**
     * 视频演员
     */
    public String getVideoactor() {
        return videoactor;
    }

    /**
     * 视频演员
     */
    public void setVideoactor(String videoactor) {
        this.videoactor = videoactor;
    }

    /**
     * 播放地址
     */
    public String getPlayurl() {
        return playurl;
    }

    /**
     * 播放地址
     */
    public void setPlayurl(String playurl) {
        this.playurl = playurl;
    }

    /**
     * 播放地址2
     */
    public String getPlay2url() {
        return play2url;
    }

    /**
     * 播放地址2
     */
    public void setPlay2url(String play2url) {
        this.play2url = play2url;
    }

    /**
     * 下载地址
     */
    public String getDownloadurl() {
        return downloadurl;
    }

    /**
     * 下载地址
     */
    public void setDownloadurl(String downloadurl) {
        this.downloadurl = downloadurl;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        TbVideo other = (TbVideo) that;
        return (this.getVideoid() == null ? other.getVideoid() == null : this.getVideoid().equals(other.getVideoid()))
            && (this.getVideopaper() == null ? other.getVideopaper() == null : this.getVideopaper().equals(other.getVideopaper()))
            && (this.getVideoname() == null ? other.getVideoname() == null : this.getVideoname().equals(other.getVideoname()))
            && (this.getVideoname2() == null ? other.getVideoname2() == null : this.getVideoname2().equals(other.getVideoname2()))
            && (this.getVideodirect() == null ? other.getVideodirect() == null : this.getVideodirect().equals(other.getVideodirect()))
            && (this.getTypeid() == null ? other.getTypeid() == null : this.getTypeid().equals(other.getTypeid()))
            && (this.getVideoarea() == null ? other.getVideoarea() == null : this.getVideoarea().equals(other.getVideoarea()))
            && (this.getVideolan() == null ? other.getVideolan() == null : this.getVideolan().equals(other.getVideolan()))
            && (this.getVideoage() == null ? other.getVideoage() == null : this.getVideoage().equals(other.getVideoage()))
            && (this.getScore() == null ? other.getScore() == null : this.getScore().equals(other.getScore()))
            && (this.getVideolength() == null ? other.getVideolength() == null : this.getVideolength().equals(other.getVideolength()))
            && (this.getSumplay() == null ? other.getSumplay() == null : this.getSumplay().equals(other.getSumplay()))
            && (this.getTodayplay() == null ? other.getTodayplay() == null : this.getTodayplay().equals(other.getTodayplay()))
            && (this.getLastmodifytime() == null ? other.getLastmodifytime() == null : this.getLastmodifytime().equals(other.getLastmodifytime()))
            && (this.getVideoinfo() == null ? other.getVideoinfo() == null : this.getVideoinfo().equals(other.getVideoinfo()))
            && (this.getVideoactor() == null ? other.getVideoactor() == null : this.getVideoactor().equals(other.getVideoactor()))
            && (this.getPlayurl() == null ? other.getPlayurl() == null : this.getPlayurl().equals(other.getPlayurl()))
            && (this.getPlay2url() == null ? other.getPlay2url() == null : this.getPlay2url().equals(other.getPlay2url()))
            && (this.getDownloadurl() == null ? other.getDownloadurl() == null : this.getDownloadurl().equals(other.getDownloadurl()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getVideoid() == null) ? 0 : getVideoid().hashCode());
        result = prime * result + ((getVideopaper() == null) ? 0 : getVideopaper().hashCode());
        result = prime * result + ((getVideoname() == null) ? 0 : getVideoname().hashCode());
        result = prime * result + ((getVideoname2() == null) ? 0 : getVideoname2().hashCode());
        result = prime * result + ((getVideodirect() == null) ? 0 : getVideodirect().hashCode());
        result = prime * result + ((getTypeid() == null) ? 0 : getTypeid().hashCode());
        result = prime * result + ((getVideoarea() == null) ? 0 : getVideoarea().hashCode());
        result = prime * result + ((getVideolan() == null) ? 0 : getVideolan().hashCode());
        result = prime * result + ((getVideoage() == null) ? 0 : getVideoage().hashCode());
        result = prime * result + ((getScore() == null) ? 0 : getScore().hashCode());
        result = prime * result + ((getVideolength() == null) ? 0 : getVideolength().hashCode());
        result = prime * result + ((getSumplay() == null) ? 0 : getSumplay().hashCode());
        result = prime * result + ((getTodayplay() == null) ? 0 : getTodayplay().hashCode());
        result = prime * result + ((getLastmodifytime() == null) ? 0 : getLastmodifytime().hashCode());
        result = prime * result + ((getVideoinfo() == null) ? 0 : getVideoinfo().hashCode());
        result = prime * result + ((getVideoactor() == null) ? 0 : getVideoactor().hashCode());
        result = prime * result + ((getPlayurl() == null) ? 0 : getPlayurl().hashCode());
        result = prime * result + ((getPlay2url() == null) ? 0 : getPlay2url().hashCode());
        result = prime * result + ((getDownloadurl() == null) ? 0 : getDownloadurl().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", videoid=").append(videoid);
        sb.append(", videopaper=").append(videopaper);
        sb.append(", videoname=").append(videoname);
        sb.append(", videoname2=").append(videoname2);
        sb.append(", videodirect=").append(videodirect);
        sb.append(", typeid=").append(typeid);
        sb.append(", videoarea=").append(videoarea);
        sb.append(", videolan=").append(videolan);
        sb.append(", videoage=").append(videoage);
        sb.append(", score=").append(score);
        sb.append(", videolength=").append(videolength);
        sb.append(", sumplay=").append(sumplay);
        sb.append(", todayplay=").append(todayplay);
        sb.append(", lastmodifytime=").append(lastmodifytime);
        sb.append(", videoinfo=").append(videoinfo);
        sb.append(", videoactor=").append(videoactor);
        sb.append(", playurl=").append(playurl);
        sb.append(", play2url=").append(play2url);
        sb.append(", downloadurl=").append(downloadurl);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}